Moderate: cloud-init security, bug fix, and enhancement update

Related Vulnerabilities: CVE-2020-8631   CVE-2020-8632   CVE-2020-8632   CVE-2020-8631   CVE-2020-8631   CVE-2020-8632  

Synopsis

Moderate: cloud-init security, bug fix, and enhancement update

Type/Severity

Security Advisory: Moderate

Topic

An update for cloud-init is now available for Red Hat Enterprise Linux 8.

Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

Description

The cloud-init packages provide a set of init scripts for cloud instances. Cloud instances need special scripts to run during initialization to retrieve and install SSH keys, and to let the user run various scripts.

Security Fix(es):

  • cloud-init: Use of random.choice when generating random password (CVE-2020-8631)
  • cloud-init: Too short random password length in cc_set_password in config/cc_set_passwords.py (CVE-2020-8632)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.3 Release Notes linked from the References section.

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

Affected Products

  • Red Hat Enterprise Linux for x86_64 8 x86_64
  • Red Hat Enterprise Linux for IBM z Systems 8 s390x
  • Red Hat Enterprise Linux for Power, little endian 8 ppc64le
  • Red Hat Enterprise Linux for ARM 64 8 aarch64

Fixes

  • BZ - 1760394 - [RHEL8] cloudinit/net/sysconfig.py write incorrect config for dhcp-stateless openstack subnets
  • BZ - 1761598 - [RHEL8] DHCP Stateful - Openstack DHCPv6 instance get no default gateway and is unable to send IPv6 traffic (Network unreachable errors).
  • BZ - 1794664 - [RHEL8] swapon fails with "swapfile has holes" when created on a xfs filesystem by cloud-init
  • BZ - 1798728 - CVE-2020-8632 cloud-init: Too short random password length in cc_set_password in config/cc_set_passwords.py
  • BZ - 1798731 - CVE-2020-8631 cloud-init: Use of random.choice when generating random password
  • BZ - 1803095 - [RHEL-8.3.0] cloud-init rebase to 19.4
  • BZ - 1803928 - [RHEL8.3] Race condition of starting cloud-init and NetworkManager
  • BZ - 1810706 - [RFE] Backport IMDSv2 from cloud-init 19.4+ RHEL 8
  • BZ - 1822343 - [RHEL8.3] Do not log IMDSv2 token values into cloud-init.log
  • BZ - 1833874 - [rhel-8.3]using root user error should cause a non-zero exit code
  • BZ - 1834173 - [rhel-8.3]Incorrect ds-identify check in cloud-init-generator
  • BZ - 1839662 - [ESXi][RHEL8.3][cloud-init]ERROR log in cloud-init.log after clone VM on ESXi platform
  • BZ - 1840648 - [cloud-init][RHEL-8.2.0] /etc/resolv.conf lose config after reboot (initial instance is ok)
  • BZ - 1846240 - [cloud-init test] Cloud-init rebase to 19.4 testing in rhel-8.3.0

CVEs

References